package com.edu.design.decorator;

public class Chilli extends Condiment {
	
	Humburger humburger;
	
	public Chilli(Humburger pHumburger) {
		super();
		humburger = pHumburger;
	}

	@Override
	public String getName() {
		return humburger.getName() + ",免费加辣椒";
	}

	@Override
	public double getPrice() {
		return humburger.getPrice();
	}

}
